home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 October / Chip_2004-10_cd1.bin / software / slunec / app / 8393_10631.exe / {code_GetTaskDir_} / 76F7251A.tsk < prev    next >
Encoding:
Text File  |  2004-07-24  |  6.2 KB  |  280 lines

  1. ;**********************
  2. ;* RoboTask Task file *
  3. ;* Do not edit!       *
  4. ;**********************
  5.  
  6. [Root]
  7. ActionAfterRun=INTEGER|0
  8. Actions=FOLDER
  9. Automat=INTEGER|0
  10. CatID=INTEGER|2091259954
  11. ContinueOnError=INTEGER|0
  12. ExternalName=STRING|"Task135"
  13. Hide=INTEGER|0
  14. ID=INTEGER|1995908378
  15. Name=STRING|"[DEMO] Find the latest/newest modified file in a folder."
  16. Priority=INTEGER|3
  17. RunOnClose=INTEGER|0
  18. RunOnStartup=INTEGER|0
  19. ToLog=INTEGER|3
  20.  
  21. [Actions]
  22. Action1=FOLDER
  23. Action10=FOLDER
  24. Action11=FOLDER
  25. Action12=FOLDER
  26. Action13=FOLDER
  27. Action14=FOLDER
  28. Action15=FOLDER
  29. Action16=FOLDER
  30. Action17=FOLDER
  31. Action18=FOLDER
  32. Action19=FOLDER
  33. Action2=FOLDER
  34. Action20=FOLDER
  35. Action21=FOLDER
  36. Action22=FOLDER
  37. Action3=FOLDER
  38. Action4=FOLDER
  39. Action5=FOLDER
  40. Action6=FOLDER
  41. Action7=FOLDER
  42. Action8=FOLDER
  43. Action9=FOLDER
  44.  
  45. [Actions\Action1]
  46. ActionID=STRING|"A_DIALOG_MESSAGE"
  47. Enabled=INTEGER|-1
  48. Name=STRING|"Show ""This Demo finds the latest file in a specified folder."""
  49. Params=FOLDER
  50.  
  51. [Actions\Action1\Params]
  52. icon=STRING|"1"
  53. msg0=STRING|"This Demo finds the latest file in a specified folder."
  54. msgcount=STRING|"1"
  55. playsound=STRING|"0"
  56. showmessage=STRING|"1"
  57.  
  58. [Actions\Action10]
  59. ActionID=STRING|"A_ROBOTASK_LOG"
  60. Enabled=INTEGER|-1
  61. Name=STRING|"Log Message"
  62. Params=FOLDER
  63.  
  64. [Actions\Action10\Params]
  65. message=STRING|"Current DateTime {CURRENT_DATETIME}"
  66. type=STRING|"0"
  67.  
  68. [Actions\Action11]
  69. ActionID=STRING|"A_ROBOTASK_LOG"
  70. Enabled=INTEGER|-1
  71. Name=STRING|"Log Message"
  72. Params=FOLDER
  73.  
  74. [Actions\Action11\Params]
  75. message=STRING|"Latest DateTime {LATEST_DATETIME}"
  76. type=STRING|"0"
  77.  
  78. [Actions\Action12]
  79. ActionID=STRING|"A_FLOW_IF"
  80. Enabled=INTEGER|-1
  81. Name=STRING|"If Then"
  82. Params=FOLDER
  83.  
  84. [Actions\Action12\Params]
  85. case=STRING|"0"
  86. operator=STRING|"3"
  87. type=STRING|"2"
  88. value1=STRING|"{CURRENT_DATETIME}"
  89. value2=STRING|"{LATEST_DATETIME}"
  90.  
  91. [Actions\Action13]
  92. ActionID=STRING|"A_ROBOTASK_LOG"
  93. Enabled=INTEGER|-1
  94. Name=STRING|"Log Message"
  95. Params=FOLDER
  96.  
  97. [Actions\Action13\Params]
  98. message=STRING|"CURRENT_DATETIME {CURRENT_DATETIME} > LATEST_DATETIME {LATEST_DATETIME}"
  99. type=STRING|"0"
  100.  
  101. [Actions\Action14]
  102. ActionID=STRING|"A_VARIABLES_SET"
  103. Enabled=INTEGER|-1
  104. Name=STRING|"Set variable ""LATEST_FILENAME"" with value ""{CURRENT_FILENAME}"""
  105. Params=FOLDER
  106.  
  107. [Actions\Action14\Params]
  108. expand=STRING|"1"
  109. varname=STRING|"LATEST_FILENAME"
  110. varvalue=STRING|"{CURRENT_FILENAME}"
  111.  
  112. [Actions\Action15]
  113. ActionID=STRING|"A_VARIABLES_SET"
  114. Enabled=INTEGER|-1
  115. Name=STRING|"Set variable ""LATEST_DATETIME"" with value ""{CURRENT_DATETIME}"""
  116. Params=FOLDER
  117.  
  118. [Actions\Action15\Params]
  119. expand=STRING|"1"
  120. varname=STRING|"LATEST_DATETIME"
  121. varvalue=STRING|"{CURRENT_DATETIME}"
  122.  
  123. [Actions\Action16]
  124. ActionID=STRING|"A_FLOW_ENDIF"
  125. Enabled=INTEGER|-1
  126. Name=STRING|"End If"
  127.  
  128. [Actions\Action17]
  129. ActionID=STRING|"A_LOOP_END"
  130. Enabled=INTEGER|-1
  131. Name=STRING|"End Loop"
  132.  
  133. [Actions\Action18]
  134. ActionID=STRING|"A_DIALOG_MESSAGE"
  135. Enabled=INTEGER|-1
  136. Name=STRING|"Show ""Folder: {Current_Folder}"""
  137. Params=FOLDER
  138.  
  139. [Actions\Action18\Params]
  140. icon=STRING|"1"
  141. msg0=STRING|"Folder: {Current_Folder}"
  142. msg1=STRING|"Latest file: {LATEST_FILENAME}"
  143. msg2=STRING|"Modified: {LATEST_DATETIME}"
  144. msgcount=STRING|"3"
  145. playsound=STRING|"0"
  146. showmessage=STRING|"1"
  147.  
  148. [Actions\Action19]
  149. ActionID=STRING|"A_VARIABLES_REMOVE"
  150. Enabled=INTEGER|-1
  151. Name=STRING|"Remove variable ""CURRENT_FOLDER"""
  152. Params=FOLDER
  153.  
  154. [Actions\Action19\Params]
  155. varname=STRING|"CURRENT_FOLDER"
  156.  
  157. [Actions\Action2]
  158. ActionID=STRING|"A_VARIABLES_CREATE"
  159. Enabled=INTEGER|-1
  160. Name=STRING|"Create variable ""LATEST_FILENAME"" with value ""Not Found"""
  161. Params=FOLDER
  162.  
  163. [Actions\Action2\Params]
  164. expand=STRING|"0"
  165. varname=STRING|"LATEST_FILENAME"
  166. varvalue=STRING|"Not Found"
  167.  
  168. [Actions\Action20]
  169. ActionID=STRING|"A_VARIABLES_REMOVE"
  170. Enabled=INTEGER|-1
  171. Name=STRING|"Remove variable ""CURRENT_FILE"""
  172. Params=FOLDER
  173.  
  174. [Actions\Action20\Params]
  175. varname=STRING|"CURRENT_FILE"
  176.  
  177. [Actions\Action21]
  178. ActionID=STRING|"A_VARIABLES_REMOVE"
  179. Enabled=INTEGER|-1
  180. Name=STRING|"Remove variable ""LATEST_DATETIME"""
  181. Params=FOLDER
  182.  
  183. [Actions\Action21\Params]
  184. varname=STRING|"LATEST_DATETIME"
  185.  
  186. [Actions\Action22]
  187. ActionID=STRING|"A_VARIABLES_REMOVE"
  188. Enabled=INTEGER|-1
  189. Name=STRING|"Remove variable ""LATEST_FILENAME"""
  190. Params=FOLDER
  191.  
  192. [Actions\Action22\Params]
  193. varname=STRING|"LATEST_FILENAME"
  194.  
  195. [Actions\Action3]
  196. ActionID=STRING|"A_VARIABLES_CREATE"
  197. Enabled=INTEGER|-1
  198. Name=STRING|"Create variable ""LATEST_DATETIME"" with value ""0"""
  199. Params=FOLDER
  200.  
  201. [Actions\Action3\Params]
  202. expand=STRING|"0"
  203. varname=STRING|"LATEST_DATETIME"
  204. varvalue=STRING|"0"
  205.  
  206. [Actions\Action4]
  207. ActionID=STRING|"A_DIALOG_BROWSEFOLDERS"
  208. Enabled=INTEGER|-1
  209. Name=STRING|"Browse for Folders"
  210. Params=FOLDER
  211.  
  212. [Actions\Action4\Params]
  213. caption=STRING|"Select Folder"
  214. default=STRING|"None"
  215. filter=STRING|"Text files|*.txt|All files|*.*|"
  216. folder=STRING|"{TempDir}"
  217. variable=STRING|"CURRENT_FOLDER"
  218.  
  219. [Actions\Action5]
  220. ActionID=STRING|"A_FLOW_IF"
  221. Enabled=INTEGER|-1
  222. Name=STRING|"If Then"
  223. Params=FOLDER
  224.  
  225. [Actions\Action5\Params]
  226. case=STRING|"0"
  227. operator=STRING|"0"
  228. type=STRING|"0"
  229. value1=STRING|"{Current_Folder}"
  230. value2=STRING|"None"
  231.  
  232. [Actions\Action6]
  233. ActionID=STRING|"A_TASKS_STOP"
  234. Enabled=INTEGER|-1
  235. Name=STRING|"Stop Task ""Find the latest/newest modified file in a folder."""
  236. Params=FOLDER
  237.  
  238. [Actions\Action6\Params]
  239. taskid=STRING|"417887772"
  240.  
  241. [Actions\Action7]
  242. ActionID=STRING|"A_VARIABLES_SET"
  243. Enabled=INTEGER|0
  244. Name=STRING|"Set variable ""CURRENT_FOLDER"" with value ""{TempDir}"""
  245. Params=FOLDER
  246.  
  247. [Actions\Action7\Params]
  248. expand=STRING|"1"
  249. varname=STRING|"CURRENT_FOLDER"
  250. varvalue=STRING|"{TempDir}"
  251.  
  252. [Actions\Action8]
  253. ActionID=STRING|"A_FLOW_ENDIF"
  254. Enabled=INTEGER|-1
  255. Name=STRING|"End If"
  256.  
  257. [Actions\Action9]
  258. ActionID=STRING|"A_LOOP_FILE"
  259. Enabled=INTEGER|-1
  260. Name=STRING|"File Loop"
  261. Params=FOLDER
  262.  
  263. [Actions\Action9\Params]
  264. createmode=STRING|"1"
  265. date1=STRING|"20040520"
  266. date2=STRING|"20040520"
  267. destvar=STRING|"CURRENT_FILENAME"
  268. DuringDays=STRING|"1"
  269. DuringMonths=STRING|"1"
  270. file0=STRING|"{Current_Folder}\*.*"
  271. filecount=STRING|"1"
  272. OlderDays=STRING|"1"
  273. OlderMonths=STRING|"1"
  274. savesize=STRING|"0"
  275. subdirs=STRING|"1"
  276. timesize=STRING|"1"
  277. timevar=STRING|"CURRENT_DATETIME"
  278. WithoutPath=STRING|"1"
  279.  
  280.